package com.kygeng.springframework.beans.factory.config;

/**
 * @Title: SingletonBeanRegistry
 * @Author: kygeng
 * @Package: com.kygeng.springframework.beans.factory.config
 * @Date: 2024/7/21 11:44
 * @Description: 单例注册表
 */
public interface SingletonBeanRegistry {

    /**
     * 获取单例对象
     * @param beanName
     * @return
     */
    Object getSingleton(String beanName);


    void registerSingleton(String beanName, Object singletonObject);
}
